<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <link type="text/css" rel="styleSheet"  href="https://res.wx.qq.com/open/libs/weui/0.4.3/weui.min.css" />
    <title>app_dt</title>
  </head>
  <body>
    <div id="app"></div>

    <script>
      let htmlwidth = document.documentElement.clientWidth || document.body.clientWidth;
      let htmlDom = document.getElementsByTagName('html')[0];
      if(htmlwidth>375){htmlwidth=375}
      //      alert(htmlwidth)
      htmlDom.style.fontSize = htmlwidth/7.5 +'px';
    </script>
  </body>
</html>
